added autofocus function