td to ed 2= |g