function inspection