Replenishment Method In Programming