use existing mix function