changed parser method in gks