Boilerplate code as used in esb1math