functions have hashtables