cooler demo pattern