pass mctl_que_idx as argument to subroutines