making rainbow with the main