a version for pimple service provider