work on spring service factory