Changed the draw method.