refactor  strongloop