move size to mixin