Added mix and reset functions