Compute Rainbow
random fix