adding smc uid matching code