add Twisted variant of example