added country parameter to SM