finished coding before test
working (one bug with data file size)
doc