Added closure example code