minor typo: "This function as" -> "This function has"