HOF in automation