removed unecessary readOneRecord() method and commented out old code