add new functions to examples