linked category and pattern