add back the patterns