- added implementation of -v option