Lab 3 for CS350, only used for synchronization purposes