added promis and ipaq calculations to calculate program