version 3 and version4