corrected ps3 based on a line i missed in problem stmt
bleh