converting stuff to new get_all interface