added inspecting inactivity