changed inputData to point to data folder