tweaking flagging class