old version, need update
Merge https://github.com/jcibanezm/NYCastroML