automate analysis