bug fix: added a 1 second sleep statement to ensure records were uniquely identified by time