better version retrieval