Add name val

Address issue #47