Created dynamic stack