beginning of palette