Woah, wall of code. New lines plox?