ensured that constraints are passed as numbers