Deleted duplicate function.