fork of trollop from https://git.gitorious.org/trollop/mainline.git