Added code to read eveny keys