updated lightning scheme