implement second diagonal checking