ex4 complete and validated