refactoring defaults