put variables in to make keyhandler easier to read