end of PS 5 - Part A