#add state manager