Use tuple instead of dict