Do this a far more sane way.