add final stage of version-3