outputs.length() --> outputs.length