state entered & state exiting events added