Fixed typos, refactored names
How do I make so many typos, ffs!?
Renamed the vacuous "out".