Created the interface for entrance and exit actions