Replaced 'combine' with the simpler-to-use 'enumerate'.