Implemented exit