add set/range sample