refactored mules