cool encoding