modify master state machine output format to include counter type