Sorted out the palette