Removed unused function from copypasta