fork from https://github.com/jtleek/datasharing