using record-set for persistence