there is no ``$sm`` variable here