tring to implement keyListner