adds palette operations