added palette to core