flexible pattern