add rgb optimization