made stack expandable