Refactored increment method for readability