So what is myList? insertIntoList is a new struct? The insertIntoList(&myList,&event); is put into your previous part of code?