linking data to pages