implement 2nd, 3rd page