added dot grid option