Simple closure example