added draw() method