adding adbility to get state change sequence