added expanding and collapsing details