A stack library