Internal and external diagnosis