Add functions for enter and exit