data format  preperation