Worked on setting up phases