use the proper type