finished simple model computation section