add jin.hpp from ocelib