integrating draw()