-updated the draw method.