precalculating