Eliminated duplicate codes.