Made the code super sexy with proper indentation for variable declarations and hashes.