These devices usually sell for about $10,000. I bet I can build one for much, much cheaper. As a chemist, the idea of being able to instantly determine the elemental content of almost any material, wherever I am, not having to be in the lab, gives me a massive nerdgasm. I would use this thing way too much... which brings me to the next point: safety. As X-rays are hazardous to life, making sure such a device is safe is extremely important. Lead shielding will be used and I'll try to eliminate all x-ray exposure and minimize beam intensity. Testing of the device will need to be done using a very controlled setup.