added pagination in step2