now with non-zero inputs.