Changed data pulling to use a limit and offset.