added manager monitoring code