continue write method fromDataObject
change a few things
start writting