validate; cleanup; automate