Final Commit V3

Improved Formatting , write data