fixed the mixin and the example