cleaned up mixin example and added warnings