Removed unused progress variable