Deleting the duplicate function.