Deleted duplicate block of code.