final part of hw3