Eric's work from c