sygnatura STM
backup version
STM algorithm implemented