Added output, variables (public method).