added missing return statement in track shipping