changed signature of method cooling