Change input keys to r because e is already used