added rgb and nrgb