updated with -v option