Proper formatting

Formatting was very inconsistent, now fixed