changed to provider layout