added a separate delete method for RecordStore