working model-contains adams code