Do everything function.

This is the version I sent out.