added hw8 and hw9