added --version flag