Created jlog, adding drawing code