finish all functions, change the version to V3.0