stack is fully functional