mixer example source code formatted