moved the calendar filter to the provider class