desperate atempt at reducing computation time - TENTATIVE SOLUTION