oops forgot to remove unused function from last commit. #276