changed append data to const