added missing -r flag