added method to set parser-options