For real working code!  Exhaustively tested!