If input is orange, return color and fruit; if input is apple, return fruit, how would you implement this?