add consistency check