changing type of 'capture' param