code changes for event timeline