complex patterns