patterns added as dep