add traffic fraction support