typing flow