commented out potentiometer because it gave errors during testing.