use ensure instead of version