addition of snapping to the collection
addition of snapping example