working on hw9... very very odd