this is again straight from the Rand and TwitterSpritzer code.