Deleted duplicate code.

The code was added to the new version