Finished Drawing and cleaning code