added design view mixin