refactor: exit