Made a simpler keyParser function

...