working on calendar filter