Extract version