activity and mode indicator support in the example