adding boolean parsing support