actual data format
piece of code from 2003