pass datastr