committing changes - Design Patterns - 3