changed interface to latest Shogun version