change the way sampleHandler records the resultsets