changes for the second phase