last adding before optimisation branch (Miss print result function)