lab5 and hw2