add regression support