add barchainpattern editor - still in work