more specific pattern first