base for automating tuning