parsing for hw 8