working stm prototype