adding case for nested syncs