use new test dataset
add error handler