getting dataset matching working