Changed provider creation