Added simplified state diagram