replace using by typedef