added an option to turn component off