working on hiding during exit