move typedefs