Finished pg1 and pg2