added configurable to make the autowire working