better stack example