https://bitbucket.org/liamstask/goose fork