some more keywords and better try/catch handling