Epic failure of the code, needs major syntax cleaning.