changed the chip methods from being instance methods to class methods.