Bitte rewritten over 4th of July weekend with Node on the back.