adding rgb processing