work on options parsing
work on options parsing
forbid read/write in single invocation