change public to private for capture method