removed debugging
ensure values are 0 or more