Inter- and intramolecular heterocyclisation carbonyl compounds and them thiacarbam derivatives an alicyclic structure depending of activation of nucleophilic centers it is carried out regiodirectly with formation of unknown earlier annelic and spitoycitic compounds thiazolic and thiadiazolic lines, perspective by way of studying biological activity.