Removed invalid code