consolidating 2 posts, added in nested sets