extracted number controller with generic parameter, comes along with testbench