acomplete basic function

Signed-off-by: Yifan <zhu_yifan@me.com>