adding cout for timer