move some code from applications to the provider