partly back to lms - working on it with francois