Made simpler change to initialise tmp