added trait for nested set