First version of the outside calculations