provider model kind of working