created generate data function
ignores