test data and preliminary code

the code does not work yet