Add data var and public addExistingData function