passed string to data[]