Added nametypescopemethod