- Deleted unused variable 'spaces'
- Simplified 'percent' compassion.