first steps for computing d1 term