taken from state A to C