ex0 complete and tested