added inflation code