added methods to provider