dding in inflow 1, 3, 10 redone with correct values and maxcount