implement delete records