struct packet { int ID; int start; int end; int done; // bool };