Fundamental basics of XRF