Begun working on writing to XML