delete prettyName() use getMetadata()