thread and calendar