Correct typo; add third function