added some stuff for rGBA