more work on parsing request