Synthesis and pharmacological evaluation of some heterocyclic compounds containing benzofuran nucleus