Tried to initialize palets - needs debugging