In the summer of 2012, Rainforest was struggling. Rainforest CEO Fred Stevens-Smith and cofounder Russell Smith had been accepted into Y Combinator, the prestigious startup mentorship program.