add draw grid feature