updated to version 4