Function draw() added.