checkpoint object literal refactoring