WIP implement palettes