removed comment
now writes to I3 file
added comments and prettified code.