example2

Added 2 new functions to example