Removed trailing garbage code