some refactoring, slightly better naming
Merge branch 'master' of github.com:sanity/quickdt