changed variable name in keyup method