keyboard controls optimization