adding closure example