second step of modifications