modified function name and add block Dir
Merge branch 'master' of https://github.com/wmin0/Doopey