add advanced usage doc