replace RGB t with just RGB
strictness optimizations