Why did we ever write it like this?!?