revise names of retrieve functions; all tested