done for logic in cout time