pb173: sixth assignment