Syncer updated to work with new data structure, renamed type to shift_type