adapting correct structure of getVersion