added diagnol confirmation method