code redesign; monitoring mode