debugged text_by_time