usage of the service container context to get deps