Everything looks good to me, except I would look at your method thats actually calculating the inflation.