Added some code of files released on MOODLE