Trying to make this suck less ararargh