record delete working