add support for from_version
add from version support