added the mixin method