add getname
successfully merged