more work on options. added help function.