controling stuff with the potentiometer