change remove() to deleteRecord()