first working version of the avidity model.