We ask for 8 days of beam time on CRISP to study the absorption and desorption of hydrogen and deuterium in Ti/Mg/Pd trilayer samples. Our specific objective is to understand in detail the kinetics of hydriding and dehydriding of these films and the preferential absorption of hydrogen in the various Mg/V layers while under the effect of different strains due to different thickness's of the Pd capping layer. This, in turn, will allow us to develop a clearer understanding of the hydrogen cycling in metal hydrides.