milestone 4,  basic model completed

next step: function