added missing default value of argument reverse