return error for negative input