a few more functional examples