Last part of hw3