Synchronous and asynchronous paging example