clean up of hw3