this invention relates to a process for synthesizing certain folic acid analogues , which are useful in treating cancer , inflammatory diseases , autoimmune diseases , and are commonly referred to as antifolates . the process employs improved steps for annulation , derivatization and addition reactions to produce the described antifolates from commonly available starting materials .