Removed unneeded fragment code