refactoring nested objects