changed API to setDrawing()