overview: draw grid in seperate function