Make function to get version