pre cloud calculations