Didn't want to but that function was a bit of a mess to begin with.