refactoring and also mines explode