added support for opt parser