missed two functions in the last commit