working now

fixed reference to data_size and potential size of randstring