Added len option to capture class