call_stack concept refactor