add some typeinfo code