implemented the removal of clients.