delete abandoned functions