graySingle added

Added if else based on current mode.