cleaned up and added check for late participants.