commented lmw importing function, to be rewritten