add closure example