added capture example