begin adding pagination feature