Updated boundary condition for addFeedback