adding election phases