added some initial parsing to HW6