working on phase V