Added G and B channel support