doc only retrival finished,not fully tested