tuples to return defined type as its type