More functional example.