Added print functions and output variables (text)