add keyup to conditionals & specify object