finish implementing path_h database interface and selection of path