added helper method for collapsables