add back keyword parser

add back keyword parser 
Too many nested ifs