Added captured functionality