added autofocus and face detection