this looks really weird. why would you map GRAY to RED ?