initial setup for linking data