Can you give me a code example for each?