implemented loadNext