Added print variable function