added option for default collapsed