desallocation separated from computation, parameter is now a parameter to give while computation