add data as global