changed stack creation methods