Added captures() function. Doesn't currently work