Question 6 stack + tests