changes for v4 version