add record removing functions