objective c version of slsengine