Add red and blue functions.