whew... that was a pain