using a mixer in the loop