adding lapeig, though it still needs to be debugged some