merging and integration of the autofocus feature