pa4 first attempt