add user interface

Signed-off-by: SButterfly <sbutterfly@outlook.com>