added colormap stuff and slice