added general sprite mixin