Code needs revision, not all the rows pulled seem correct