added data consistency check