Atrocious code from Greylock intern hackathon '12