project 2 first working version
simplify exit instructions