also added inputMessage for keyJustUp