created a subclass by extention of analog potentiometer superclass