Synthesis and pharmacological evaluation of hetrocyclic rings containing n-substitute as pharmacophore