finsih pg example.