Added getCurrentVersion method