moification of state managing