removed unused code and added projection description in comments