- Reduced code repetition
- Fixed a few minor bugs