Studies towards synthesis of biologically active heterocycles like bita and gyma carbolines carbazoles cyclic lactams and xanthenes