more general autofocus support