take into effect cat ids