It's not your fault, you're just updating the existing code, but man this is ugly.