tried to add keyup

not quite working
merging

merged