added isCapturing()