->createDefaults method corrected