Removed unused func