added autocapture