wrote keep method, passed first test