added source code of the mod