made some changes to kge.q so can start work on parse update
using boolean to check hashmap instead