Removed unused function from helper