automated logic controls