Changed (and improved) the syntax for provider