commit before rewrite in go
functional version
Merge branch 'master' of github.com:failshell/titan