Changed Lightning into two phases