refactored sanitation basic tool