Adding hw8 (roughly done)