Reducing code duplication - Eustad