Changed local variable to not be named same as method to avoid confusion