Added mixin function