Removed unused function foo