updated phase 5