add method to get version