added function to get all the key-handlers