avoid variable name collision between models SM and sm