simplifying the recalculation