removed duplicate code line