changed to the new gojang api.