add sample
call process onload