add -v option for displaying the version number