added autofocus option