MOD: formatting code