made keyword and value const
made conditional branch for keywords