Removed unneeded function