Reduced code duplication