subdivised Grid.draw function into 3 subfunctions