added filtering for category