implemented getVersion method in base connection