Theoretical and structural studies on mechanism of the Stec reaction