Use tuple in function.