completed assignment
c