Wrote diaspore code