extract caps
don't copy temporary data structure