alignment of repository phase 2