added method to check consistency of results