redundancy in resume code