store output type explicitly in tuple