add more state methods, add exit option in menu