little progress on opt parser