Researchers were searching for drugs to treat schizophrenia when they came across imipramine, which alleviated the symptoms of depression, although it was not effective against schizophrenia. It became the first of a class of drugs, all sharing a similar molecular structure, called: