Removed unnecessary function redefinition