Minor editing and refactoring of LU example