Use callback for drawing