put data load in function
update ex1
update doc