changed back to test keypress