a cooling device is used for cooling