changes to captureactivity