added number box contraints