Example of use of collection()