Commented duplicate code