changed it so that it listens for the right key