the code of lms