Collapsible also reads values from variables now, some fine tuning needed