https://annegautham.github.io/posts/stm-theory-of-operation/