add inflation algorithm