- split long methods into smaller, more readable methods
- refactored loops
- added better colours