Removed function which is not longer needed