task messages and leader messages are added