Memoized hand type functions, reduced all hand type functions to a single line