creating a background mixin
optimizing the input mixins.