Remove function only being used once