done pagination function of modern poem