write out type name to prevent confusion when using gettype