add nextpage feature