add viewdect demo