finished implementing ensemble