add name function for Typed