trying alternative pagination method