renamed logl.hs