Implemented Reg4, with option of adding visual features