Can we use "fortune" instead of "treasure"? It sounds like you're programming for a video game :)