I put it outside since it was saved only if mode not gaussian and not mean