add options to reverse stack