added more print functions and a potmeter