trying a new way to display the component state