Using tuple instead of struct