styling and flagging support
set mine counter