setup hashtables