rainbow as a learning curve