changes typedef to using