write up euclid