added new states and commands