added: timer to exit