added in spinner mixin