Better use of tuple