added inspect condition