Trying to optimize capturing.