write Phase IV