changes made by christian for moodleresult