add_all and put_all, new sample