add mixin library, add spec