added capture preview