adding check for -v option, display version