Added IsEnabled loop