Modify the duplicate code