improve inspect