fork of https://github.com/mitchellh