Revised and simplified provider implementation example