LEMS ex 6 partially working