updated to version 3