Change method of getting versions