removing potentiometer related code and display related code