Oh man this code.