added in framework for drawing tasks