Made uml for state design pattern