Added functional examples