add viewset mixin code