added getname to client