trying writing to data