hw12 stack