diagnostic tool hooked to gallery