add alignment functions to Lantern