added lantern code