added events of keys