delete old garbage functions