implemented imbbmodel2