decouplig index into 3 sub_pages