changing tDiary initialization process