version with addmarkers ok, new method of patter generation via Pattern Builder