added grid gradation and black/white option