removed capture function for the time being