Understanding your first snippet