Create and use a new structure called rgb_model