fork of https://gitorious/trollop by William Morgan