builder added constructor without provider class