worked version for starexec