implement retrieval of versions