clone of yacminer 3.3.1 to be updated