pattern categorisation approach