added object mixin method. needed one.