initial implementation of the colorbar