updated autogenerated typecomp code