OPT : added -r and -v flag