Formatting Changes

- Used `unless` instead of `if !`
- Removed some blank lines and trailing whitespace.