Removed unnecessary function. Updated name on necessary function.