import current work toc method

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>