Mastering 'stm' class