Example Code for Using the ES Libraries