function examples

function examples