adding displays and updating switches