test
begin the basic model algorithm