added controls and randomized ifrq