method to print version info