added another method for phase 3