corrected use of  type