changing state to s/c